<!DOCTYPE meta PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>welcome: </title>
	<script type="text/javascript">
		function GetLocalIPAddr() {
		    var oSetting = null;
		    var ip = null;
		    try {
		        oSetting = new ActiveXObject("rcbdyctl.Setting");
		        ip = oSetting.GetIPAddress;
		        if (ip.length == 0) {
		            return "没有连接到Internet";
		        }
		        oSetting = null;
		    } catch (e) {
		        return ip;
		    }
		    return ip;
		}
		document.write(GetLocalIPAddr() + "<br/>")	
	</script>
</head>
<body>
	<h1>Welcome </h1>
</body>
</html>